-
Notifications
You must be signed in to change notification settings - Fork 26
Granite4 2b & 3b support #496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
|
👋 Hi! Thank you for contributing to vLLM support on Spyre. Or this can be done with Now you are good to go 🚀 |
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
| self.kv_cache_specs['head_dim'] = self.config.hidden_size // \ | ||
| self.config.num_attention_heads | ||
|
|
||
| # *** ALERT *** Granite 2b hack for AIU Compiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know if this is a temporary hack? Then perhaps we can add a compatibility test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will see how they implement it properly in fms. I do just mirror their strategy here... (very much work in progress)
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
Signed-off-by: Yannick Schnider <[email protected]>
|
bot:test |
Signed-off-by: Yannick Schnider <[email protected]>
|
bot:test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supporting granite4 2b & 3b (attention only).
fms support has been merged into main here: foundation-model-stack/foundation-model-stack#472
implemented it in a backward compatible way, such that we can get it into vllm-spyre main without relying on a fms version post above PR.